<template>
	<!-- u-border-one  -->
	<view class="listImg">
		<image :src="value.goods_cover" v-if="value.goods_cover" class="listimgGroup" mode=""></image>
		<image :src="value.goods_img" v-if="value.goods_img" class="listimgGroup" mode=""></image>
		<view class="shopView">
			<view class="shopViewItem">
				<view class="shopViewItemTitle">
					<text class="thirdTag" v-if="third == true">第三方</text><text>{{value.goods_title}}</text>
				</view>
				<view class="shopViewItemNumber" v-if="value.refund_num">数量： {{value.refund_num}}</view>
				<view class="shopViewItemContent">
					￥{{value.sale_price}}
				</view>
			</view>

		</view>
	</view>
</template>

<script>
	export default {
		props: {
			value: {
				type: Object,
				default: {}
			},
			position: {
				type: Number,
				default: 0
			},
			keys: {
				type: Number,
				default: 0
			},
			third: {
				type: Boolean,
				default: false
			}
		},
		data() {
			return {
				price: 66.2
			}
		},
		methods: {
			evaluation(id) {
				let data = {
					id: id,
					keys: this.keys
				}
				this.$emit('parentevaluation', data)
			}
		}
	}
</script>

<style>
	.num-left {
		margin-left: 10rpx;
		font-weight: 500;
	}

	.font-red {
		color: red;
	}

	.specifications {
		margin-top: 20rpx;
		margin-bottom: 14rpx;
	}

	.right-block {
		height: 200rpx;
		margin-left: 30rpx;
	}

	.goodsItem {
		padding: 40rpx 0 0 0;
		position: relative;
	}

	.thirdTag {
		display: inline-block;
		background: #30b885;
		border-radius: 10rpx;
		line-height: 40rpx;
		text-align: center;
		margin-right: 10rpx;
		padding: 0 10rpx;
		color: #fff;
		font-size: 26rpx;
	}

	.textWidth {
		width: 420rpx;
		height: 80rpx;
		line-height: 40rpx;

	}

	.btnComment_status {
		position: absolute;
		right: 0;
		bottom: 60rpx;
		background-color: #0B844A;
		width: 180rpx;
		height: 65rpx;
		text-align: center;
		line-height: 65rpx;
		color: #fff;
		font-size: 28rpx;
		border-radius: 40rpx;
	}

	.listImg {
		/* margin-top: 37rpx;
		margin-left: 19rpx; */
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
	}

	.listimgGroup {
		width: 135rpx;
		height: 135rpx;
	}

	.shopView {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		margin-left: 19rpx;

	}

	.shopViewItem {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		/* width: 520rpx; */
	}

	.shopViewItemTitle {
		width: 394rpx;
		height: 38rpx;
		font-weight: 400;
		font-size: 27rpx;
		color: #333333;
		line-height: 38rpx;
		text-align: justified;
		font-style: normal;
		text-transform: none;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;

	}

	.shopViewItemContent {
		font-weight: 400;
		font-size: 27rpx;
		color: #FF211F;
		line-height: 38rpx;
	}

	
	.shopViewItemNumber {
		font-weight: 400;
		font-size: 23rpx;
		color: #999999;
		line-height: 23rpx;
		text-align: left;
		font-style: normal;
		text-transform: none;
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: center;
		margin:17rpx 0;
	}
</style>